import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import VConsole from 'vconsole'
import pinia from '@/store/store'
import './index.css'
// import "amfe-flexible";
import './permission.js'
import scrollbarDirective from '@/directive/scrollbarDirective'
const { MODE, VITE_APP_BASE_API } = import.meta.env
MODE !== 'prod' && new VConsole()
let app = createApp(App)
app
.use(scrollbarDirective)
  .use(pinia)
  .use(router)
  .mount('#app')
